package shoppingmall.reception.dto;

import java.util.List;

/**
 * 响应结果对象进行封装在result 中
 */
public class PageBean {
    private int total;
    private List rows;

    public PageBean() {
    }

    public PageBean(int total, List rows) {
        this.total = total;
        this.rows = rows;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List getRows() {
        return rows;
    }

    public void setRows(List rows) {
        this.rows = rows;
    }
}
